package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 银藻系统配置对象 pc_silver_config
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
@ApiModel(value = "PcSilverConfig",description = "银藻系统配置对象 pc_silver_config")
public class PcSilverConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银藻配置主键 */
    private Long id;

    /** 替换金藻提现手续比例 */
    @ApiModelProperty(value="替换金藻提现手续比例",name="PcSilverConfig$cashReplaceRate")
    @Excel(name = "替换金藻提现手续比例")
    private BigDecimal cashReplaceRate;

    /** 转账比例 */
    @ApiModelProperty(value="转账比例",name="PcSilverConfig$transferRate")
    @Excel(name = "转账比例")
    private BigDecimal transferRate;

    /** 转账额度 */
    @ApiModelProperty(value="转账额度",name="PcSilverConfig$transferLimit")
    @Excel(name = "转账额度")
    private BigDecimal transferLimit;

    /** 转账申请开关 */
    @ApiModelProperty(value="转账申请开关",name="PcSilverConfig$transferApply")
    @Excel(name = "转账申请开关")
    private String transferApply;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /** 配置参数 */
    @ApiModelProperty(value="配置参数",name="PcSilverConfig$transferApply")
    @Excel(name = "配置参数")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCashReplaceRate(BigDecimal cashReplaceRate) 
    {
        this.cashReplaceRate = cashReplaceRate;
    }

    public BigDecimal getCashReplaceRate() 
    {
        return cashReplaceRate;
    }
    public void setTransferRate(BigDecimal transferRate) 
    {
        this.transferRate = transferRate;
    }

    public BigDecimal getTransferRate() 
    {
        return transferRate;
    }
    public void setTransferLimit(BigDecimal transferLimit) 
    {
        this.transferLimit = transferLimit;
    }

    public BigDecimal getTransferLimit() 
    {
        return transferLimit;
    }
    public void setTransferApply(String transferApply) 
    {
        this.transferApply = transferApply;
    }

    public String getTransferApply() 
    {
        return transferApply;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cashReplaceRate", getCashReplaceRate())
            .append("transferRate", getTransferRate())
            .append("transferLimit", getTransferLimit())
            .append("transferApply", getTransferApply())
            .toString();
    }
}
